package com.itheima.reggie.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 购物车数据表实体类
 * @author Xiao
 * @date 2021/9/29
 */
@Data
@TableName("shopping_cart")
public class ShoppingCart implements Serializable{
    private static final long serialVersionUID = 1L;
    private Long id;
    private String name;    //名称
    private Long userId;    //用户id
    private Long dishId;    //菜品id
    private Long setmealId;    //套餐id
    private String dishFlavor;    //口味
    private Integer number;    //数量
    private BigDecimal amount;    //金额
    private String image;    //图片
    public LocalDateTime createTime;    //创建时间
}
